package com.zme.entity;

public class Person {
    private Integer perNo;
    private String perName;
    private int perAge;

    public Person() {
    }

    public Person(String perName, int perAge) {
        this.perName = perName;
        this.perAge = perAge;
    }

    public Person(Integer perNo, String perName, int perAge) {
        this.perNo = perNo;
        this.perName = perName;
        this.perAge = perAge;
    }

    public Integer getPerNo() {
        return perNo;
    }

    public String getPerName() {
        return perName;
    }

    public int getPerAge() {
        return perAge;
    }

    public void setPerNo(Integer perNo) {
        this.perNo = perNo;
    }

    public void setPerName(String perName) {
        this.perName = perName;
    }

    public void setPerAge(int perAge) {
        this.perAge = perAge;
    }

    @Override
    public String toString() {
        return "perNo= " + perNo + ",perName= " + perName + ",perAge= " + perAge;
    }
}
